<!-- 加载玩法列表模板 -->
<script type="text/html" id="promotion-template">
<thead>
	<tr>
        <th>序号</th>
		<th>推广名称</th>
		<th>类型</th>
		<th>返点</th> 
		<th>操作</th> 
	</tr>
</thead>
<tbody id="promotion-data">
	
</tbody>
</script>
<script type="text/html" id="promotion-z-template">
	<%_.each(items,function(item,index) {%>
		<tr data-uid="<%=item.id%>" data-link="<%=item.promotionLink%>">
            <td><%=index+1%></td>
			<td><%=item.promotionLinkName%></td>
            <td><%if(item.userType==0){%>代理<%}else{%>会员<%}%></td>
			<td><%=(item.userRebate*100).toFixed(2) %>%</td>
			<td>
                &nbsp;
                <a data-flag="scanPromLink">浏览</a>&nbsp;&nbsp;
                <a data-flag="updatePromLink">修改</a>&nbsp;&nbsp;
                <a data-flag="copyPromLink">复制</a>&nbsp;&nbsp; 
                <a data-flag="delPromLink">删除</a> &nbsp; 
           </td> 
		</tr>
	<%})%>
</script>
